﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Decoration.Models.Dto
{
    public class ProjectPostDto
    {
        /// <summary>
        /// 订单id
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 项目周期
        /// </summary>
        [MaxLength(50)]
        public string? Period { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [MaxLength(50)]
        public string ProjectName { get; set; } = null!;

        /// <summary>
        /// 负责人
        /// </summary>
        public int Leader { get; set; }

        public string LeaderName { get; set; } = null!;
    }
}
